package com.chenjt.langchain4j.assistant;

import com.chenjt.langchain4j.entity.Person;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

/**
 * 注释：
 *
 * @author chenjt
 * @date 2025/4/23 16:09
 */
@AiService(
        wiringMode = AiServiceWiringMode.EXPLICIT,
        chatModel="qwenChatModel"
)
public interface Assistant {

    String chat(String userMessage);

    Person extractPersonFrom(String text);

}
